export default  [
  {
    path: '/user',
    layout: false,
    routes: [
      { name: '登录', path: '/user/login', component: './user/Login' },
      { name: '注册', path: '/user/register', component: './user/Register' },
      { component: './404' },
    ],
  },
  { path: '/welcome', name: '欢迎', icon: 'smile', component: './Welcome' },
  { name: '智能分析', icon: 'smile', path: '/addChart', component: './AddChart' },
  { name: '我的图表', icon: 'smile', path: '/myChart', component: './MyChart' },
  { name: '智能分析(异步)', icon: 'smile', path: '/addChartAsync', component: './AddChartAsync' },
  { path: '/', redirect: '/welcome' },
  { component: './404' },
];
